package com.meida.module.bus.provider.service;

import com.meida.common.mybatis.model.ResultBody;
import com.meida.module.bus.client.entity.BusTestpaper;
import com.meida.common.mybatis.base.service.IBaseService;

/**
 * 试卷表 接口
 *
 * @author flyme
 * @date 2021-08-03
 */
public interface BusTestpaperService extends IBaseService<BusTestpaper> {

    /**
     * 试题审核(审核通过随机赠送优惠券)
     *
     * @param testpaperId
     * @param state
     * @return
     */
    ResultBody checkTestPaper(Long testpaperId, Integer state);
}
